package com.thghh.table;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author Zhikang.Peng
 * @version 1.0
 * @email thghh@qq.com
 * @date 2020/9/11 10:39
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface BeanColumn {
    /**
     * Table name
     */
    String name();
    /**
     * Table title name index
     */
    int index();
    /**
     * is modify
     */
    boolean editable() default false;
}
